## game
cmake_minimum_required(VERSION 2.6)

project(game)

include_directories(
    ${PROJECT_SOURCE_DIR}
)

set(game_SRC
    common.h
    application.h
    application.cc
    main.cc
    
    ui/socket.h
    ui/socket.cc
    ui/socket_factory.h
    ui/session.h
    ui/session.cc
    ui/subsystem.h
    ui/subsystem.cc
)

add_executable(game ${game_SRC})
target_link_libraries(game node node-binding shared)
if (WIN32)
target_link_libraries(game libmysql libeay32 libevent ws2_32)
else()
endif()